#define _CRT_SECURE_NO_WARNINGS 1
#include<time.h>
#include"RBTree.h"

int main()
{
	srand((unsigned int)time(nullptr));
	RBTree<int, int> rb;
	vector<pair<int, int>> vp;
	for (int i = 0; i < 100000; i++)
		vp.push_back({ rand() + i, i });
	for (auto& i : vp)
		rb.Insert(i);
	//rb.Inprint();
	cout << rb.IsValidRBTree() << endl;

	return 0;
}